<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加目的地住宿特色项</title>
<%@include file="../../head.jsp"%>
</head>
<body>
		<form id="fm" method="post" >
		<table>
			<tr>
				<td><label>目的地归属的酒店信息:</label>
				</td>
				<td><table>
				<c:set var="size" value="${fn:length(hotelListInfo)}"></c:set>
				<c:if test="${size <= 0 }">该目的地下还没有添加酒店，请先添加酒店，再来做此操作！</c:if>
				<c:if test="${size > 0 }">
				<c:forEach var="result" items="${hotelListInfo}" varStatus="status">
					<c:if test="${status.count==1||(status.count-1)%5==0}">
						<tr>
					</c:if>
					<td >
					<input type="checkbox" name="hotelIds"
							value="${result.hotelId}"/>"${result.zhname}"
					</td>
					<c:if test="${status.count%5==0||status.count==size}">
						</tr>
					</c:if>
				</c:forEach>
				</c:if>
				</table>
			</td>
			</table>
		</form>
		
	
		<style type="text/css">
			#fm {
				margin: 0;
				padding: 40px 40px;
			}
			
			.ftitle {
				font-size: 14px;
				font-weight: bold;
				padding: 5px 0;
				margin-bottom: 10px;
				border-bottom: 1px solid #ccc;
			}
			
			.fitem {
				margin-bottom: 5px;
			}
			
			.fitem label {
				display: inline-block;
				width: 95px;
			}
		 </style>
</body>
</html>